-
Name:
mPetrifyingGazeI
-
Displayed name:
Regard pétrifiant I
-
Description:
Le regard de la créature change en pierre ceux qui osent le croiser. Lors de n'importe quelle action, hors réaction, vous pouvez dépenser 3 PR pour infliger 1d6 Points de pétrification à toutes les créatures de votre champ de vision qui vous regardent. Ces points durent 10 secondes ; au bout de 5 secondes, la moitié d'entre eux se dissipe. En infliger de nouveaux relance la durée à 10 secondes. Les Points de pétrification réduisent la régénération de PA de la cible proportionnellement à ses PdV maximum : 1 point sur une créature à 10 PdV maximum la réduit de 10 %. Si ses Points de pétrification atteignent ses PdV maximum, la créature est pétrifiée pendant 1 heure. Elle est alors inconsciente (0 PA/s), sa posture ne peut plus changer et elle commence à suffoquer ; un bouche-à-bouche peut encore l'oxygéner. Elle subit aussi Faiblesse 2 aux dégâts glace et contondants, et gagne Résistance 2 aux dégâts perforants et tranchants.
-
Condition:
-
Cost:
expCost(1400,650)-0 -
Script:
-
Duration:
-1
-
Type:
0
-
Recurrent script:
-
Add ons:
-
Condition:
not action:tagsContain([[reaction]]) -
Description:
-
Variables:
vPetrifyingGazeCost = 3 vPetrifyingGazeDice = 1 -
Script:
-
Action effects:
-
Use case:
3*number(vPetrifyingGazePoints.value>0)
-
Name:
Regard pétrifiant
-
Description:
Vous pouvez dépenser vPetrifyingGazeCost.string PR pour infliger vPetrifyingGazeDice.stringd6 Points de pétrification à toutes les créatures de votre champ de vision qui vous regardent. Soit un total de vPetrifyingGazePoints.string Points de pétrification.
-
Script:
if (not character:has([[mPetrifyingPoints]])) then effect = character:createEffect([[mPetrifyingPoints]]) effect.displayName:set([[Points de pétrification]]) effect.description:set([[Vos Points de pétrification réduisent votre régénération de PA proportionnellement à vos PdV maximum. S'ils atteignent vos PdV maximum, vous êtes pétrifié.]]) effect.script:set([=[stat = character:createStat([[sPetrifyingPoints]], [[dependant]]) stat.displayName:set([[Points de pétrification]]) character.sRegenAP:addCurrent([[-min(character.sPetrifyingPoints.current/character.sMaxHP.current,1)*100%]], [[physical]], modifier.displayName.value)]=]) effect.recurrentScript:set([=[if (character.sPetrifyingPoints.current >= character.sMaxHP.current) then if (not character:has([[mPetrified]])) then petrified = character:createEffect([[mPetrified]]) petrified.displayName:set([[Pétrification]]) petrified.description:set([[Votre corps est changé en pierre. Vous êtes inconscient (0 PA/s), votre posture ne peut plus changer et vous suffoquez ; un bouche-à-bouche peut encore vous oxygéner. Vous subissez Faiblesse 2 aux dégâts glace et contondants, et gagnez Résistance 2 aux dégâts perforants et tranchants.]]) petrified.script:set([==[character.sRegenAP:addCurrent([[-100%]], [[physical]], modifier.displayName.value) stat = character:createStat([[sIceWeakness]], [[temporary]]) stat.displayName:set([[Faiblesse à la glace]]) stat:addNormal([[2]], [[physical]], modifier.displayName.value) stat = character:createStat([[sBluntWeakness]], [[temporary]]) stat.displayName:set([[Faiblesse au contondant]]) stat:addNormal([[2]], [[physical]], modifier.displayName.value) stat = character:createStat([[sPiercingResistance]], [[temporary]]) stat.displayName:set([[Résistance au perforant]]) stat:addNormal([[2]], [[physical]], modifier.displayName.value) stat = character:createStat([[sSlashingResistance]], [[temporary]]) stat.displayName:set([[Résistance au tranchant]]) stat:addNormal([[2]], [[physical]], modifier.displayName.value)]==]) petrified:activate() petrified.duration:set(3600) end character.mPetrifyingPoints:delete() elseif (character.mPetrifyingPoints.duration.value == 5) then character.sPetrifyingPoints:changeCurrent(-character.sPetrifyingPoints.current / 2) end]=]) effect:activate() end character.mPetrifyingPoints.duration:set(10) character.sPetrifyingPoints:changeCurrent({{vPetrifyingGazePoints.value}}) -
Variables:
vPetrifyingGazePoints = NumberVariable([[vPetrifyingGazePoints]], [[Points de pétrification]], [[0]])
-
-
-
Upgrades: